import axios from '@/axios'
// 任务页用到的变量方法
const state = {

};
const mutations = {

}
const actions = {
  queryTaskByUser({
    commit
  }, conditions) {
      debugger
    return axios.post(axios.config.queryTaskByUser, conditions).then(response => {
        return Promise.resolve(response)
    })
  },
  // 任务查询
  queryMission({
    commit
  }, conditions) {
    return axios.post(axios.config.queryTaskByUser, conditions).then(response => {
      return Promise.resolve(response)
    })
  },

}
const getters = {
    
}
export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}
